<html>
  <head>
    <meta name="layout" content="main" />
    <title>Your Shopping Cart</title>
  </head>
  <body>
    <div id="contentText">
      <h2><span>Your</span>Shopping Cart</h2>
    </div>
    <div id="wrap90">
<table>
       <tr>
       <th> Item </th>
       <th> Quantity </th>
       <th> Price per item </th>
       <th> Price</th>
     </tr>
   <sc:each>
     <tr> 
        <td>
            ${com.metasieve.shoppingcart.Shoppable.findByShoppingItem(it['item'])}
         </td>
         <td>
            ${it['qty']}
         </td>
         <td>
           ${org.toonWatch.Item.findById(item.id).price}
         </td>
         <td>
           ${org.toonWatch.Item.findById(item.id).price*it['qty']}
         </td>
      </tr>
   </sc:each>
</table>
      <br>
     <g:form action ="checkOut">
      <g:submitButton name= "Checkout" value="Check Out" />
      </g:form>
<g:form action ="emptyCart">
  <g:submitButton name ="EmptyCart" value="Empty Cart"/>
</g:form>
    </div>
  
    </body>
</html>